﻿@model Contrib.BSCarouselSlide.Models.BSCarouselSlidePart

<fieldset>
  <legend>@T("Carousel Slide Fields")</legend>
  <div class="editor-label">
    @Html.LabelFor(model => model.CarouselKey)
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.CarouselKey)
    @Html.ValidationMessageFor(model => model.CarouselKey)
  </div><div class="editor-label">
    @Html.LabelFor(model => model.Priority)
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.Priority)
    @Html.ValidationMessageFor(model => model.Priority)
  </div>
  <div class="editor-field">
    @Html.CheckBoxFor(m => m.HasText)
    <label class="forcheckbox" for="@Html.FieldIdFor(m => m.HasText)">@T("Should this slide use Text")</label>
    <span class="hint">@T("Check to enforce the fact that the text will be displayed.")</span>
  </div>
  <div class="editor-label">
    @Html.LabelFor(model => model.TextClass)
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.TextClass)
    @Html.ValidationMessageFor(model => model.TextClass)
  </div>
  <div class="editor-label">
    @Html.CheckBoxFor(m => m.HasImage)
    <label class="forcheckbox" for="@Html.FieldIdFor(m => m.HasImage)">@T("Should this slide use an image")</label>
    <span class="hint">@T("Check to enforce the fact that the image will be displayed.")</span>
  </div>
  <div class="editor-label">
    @Html.LabelFor(model => model.ImageClass)
  </div>
  <div class="editor-field">
    @Html.TextBoxFor(model => model.ImageClass)
    @Html.ValidationMessageFor(model => model.ImageClass)
  </div>
</fieldset>